package com.bestcem.xm.om.controller.param;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author zhangfeng <feng.zhang@idiaoyan.com>
 * @version v1.0
 * @date 2022/3/18 11:02
 */
@Data
public class AuditInvoiceParam {

    /**
     * 发票id
     */
    @JsonProperty("invoice_id")
    @NotNull(message = "id不能为空")
    private Integer invoiceId;

    /**
     * 发票类型
     */
    @NotNull(message = "type不能为空")
    private Integer type;

    /**
     * 操作类型
     */
    @NotBlank(message = "action不能为空")
    private String action;

    /**
     * 驳回原因
     */
    @JsonProperty("reject_reason")
    private String rejectReason;

    /**
     * 快递单号
     */
    @JsonProperty("express_number")
    private String expressNumber;

    /**
     * 备注
     */
    private String remark;
}
